package jadetest;


public class JADEPlatform
{
	// This class has been created to simplify the use of Jade in Eclipse for the AIA Lab.
	// It is an alternative to the following command-line commands:
    //
	//     java jade.Boot [options]                               --> ServiceManager initialization
	//     java jade.Boot -container -gui [options] [Agent list]  --> Container + GUI + Agents initialization

	public static void main(String[] args) throws InterruptedException
	{
		ServiceManager	sm;
		Container		c;
		sm = new ServiceManager();
		//
		c = new Container(  "Sewer1:SewerAgent.SewerAgent",
							"Sewer2:SewerAgent.SewerAgent",
							"Tank1:TankAgent.TankAgent",
							"Tank2:TankAgent.TankAgent",
						 	"WWTP1:WWTPAgent.WWTPAgent",
						 	"WWTP2:WWTPAgent.WWTPAgent",
						 	"Authority:AuthorityAgent.AuthorityAgent");

		sm.start();
		Thread.sleep(3000);
		c.start();
	}
}
